/**
 * Project Name:dsrs-systemservice-domain
 * File Name:UserSecurityPo.java
 * Package Name:com.bwda.dsrs.systemservice.domain.po.usersecurity;
 * Date:2019年4月28日
 * Copyright (c) 2019, 江苏保旺达软件有限公司 All Rights Reserved.
 */
package com.bwda.dsrs.systemservice.domain.po.usersecurity;

import java.util.Date;
import lombok.Data;
/**
 * 用户安全策略po
 *
 * @author yanyuemei
 * @date 2019/4/27
 */
/**
 * 用户-安全策略
 *
 * @author liangjianyong
 * @date 2019/4/27
 */
@Data
public class UserSecurityPo {
	/**
	 * 安全策略id
	 */
	private Integer id;
	/**
	 * 用户编码
	*/
	private String userCode;
	/**
	 * 密码规则ID
	*/
	private Integer passwordRuleId;
	/**
	 * 生效时间
	*/
	private Date effTime;
	/**
	 * 失效时间
	*/
	private Date expTime;
	/**
	 * 解冻时间
	*/
	private Date iceOutTime;
	/**
	 * 上次密码更新时间
	*/
	private Date pwdLastUpdateTime;
	/**
	 * 下次密码更新
	*/
	private Date pwdUpdateTime;
	/**
	 * 连续登陆失败次数
	*/
	private Integer loginFailCount;
	/**
	 * 登录成功次数
	*/
	private Integer loginSuceeCount;
	/**
	 * 是否强制更新密码
	*/
	private Integer isForceUpdatePwd;
	/**
	 * 创建时间
	*/
	private Date createTime;
	/**
	 * 更新时间
	*/
	private Date updateTime;
	/**
	 * 登录IP
	*/
	private String loginIp;
	/**
	 * 登录时间
	*/
	private Date loginTime;

	public Date getEffTime() {
		if (effTime != null){
			return (Date) effTime.clone();
		}

		return null;
	}

	public void setEffTime(Date effTime) {
		if (effTime != null){
			this.effTime = (Date) effTime.clone();
		}
	}

	public Date getExpTime() {
		if (expTime != null){
			return (Date) expTime.clone();
		}

		return null;
	}

	public void setExpTime(Date expTime) {
		if (expTime != null){
			this.expTime = (Date) expTime.clone();
		}
	}

	public Date getIceOutTime() {
		if (iceOutTime != null){
			return (Date) iceOutTime.clone();
		}

		return null;
	}

	public void setIceOutTime(Date iceOutTime) {
		if (iceOutTime != null){
			this.iceOutTime = (Date) iceOutTime.clone();
		}
	}

	public Date getPwdLastUpdateTime() {
		if (pwdLastUpdateTime != null){
			return (Date) pwdLastUpdateTime.clone();
		}

		return null;
	}

	public void setPwdLastUpdateTime(Date pwdLastUpdateTime) {
		if (pwdLastUpdateTime != null){
			this.pwdLastUpdateTime = (Date) pwdLastUpdateTime.clone();
		}
	}

	public Date getPwdUpdateTime() {
		if (pwdUpdateTime != null){
			return (Date) pwdUpdateTime.clone();
		}

		return null;
	}

	public void setPwdUpdateTime(Date pwdUpdateTime) {
		if (pwdUpdateTime != null){
			this.pwdUpdateTime = (Date) pwdUpdateTime.clone();
		}
	}

	public Date getCreateTime() {
		if (createTime != null){
			return (Date) createTime.clone();
		}

		return null;
	}

	public void setCreateTime(Date createTime) {
		if (createTime != null){
			this.createTime = (Date) createTime.clone();
		}
	}

	public Date getUpdateTime() {
		if (updateTime != null){
			return (Date) updateTime.clone();
		}

		return null;
	}

	public void setUpdateTime(Date updateTime) {
		if (updateTime != null){
			this.updateTime = (Date) updateTime.clone();
		}
	}

	public Date getLoginTime() {
		if (loginTime != null){
			return (Date) loginTime.clone();
		}

		return null;
	}

	public void setLoginTime(Date loginTime) {
		if (loginTime != null){
			this.loginTime = (Date) loginTime.clone();
		}
	}
}